package com.fishbone.cloud.auth.endpoint;

import com.fishbone.cloud.auth.constants.FishBoneConstant;
import org.springframework.security.oauth2.provider.endpoint.FrameworkEndpoint;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author huyaxi
 */
@FrameworkEndpoint
public class FishBoneLoginEndpoint {
    private static final String LOGIN = "login";

    @RequestMapping(FishBoneConstant.LOGIN_PAGE)
    public String login(){
        return LOGIN;
    }
}
